package com.caiyigo.test.arithmetic.strategy;

import static org.junit.Assert.assertEquals;

import org.junit.Test;

public class test {
	@Test
	public void testCashNormal() throws Exception {
		double total = 0.0d;
		CashContext cashContext = new CashContext("正常收费");
		double totalPrices = 0d;
		totalPrices = cashContext.GetResult(300);
		total = total + totalPrices;
		assertEquals(300.0, total, 0.0);
	}
}
